# $Id: PKGBUILD 69493 2012-04-17 10:36:52Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Vladimir Chizhov <jagoterr@gmail.com>

pkgname=odt2txt
pkgver=0.4
pkgrel=1
pkgdesc="extracts the text out of OpenDocument Texts"
url="http://stosberg.net/odt2txt/"
license=("GPL2")
arch=('i686' 'x86_64')
depends=('zlib')
source=(http://stosberg.net/odt2txt/$pkgname-$pkgver.tar.gz)
md5sums=('6fe3bd261ce2dde2810244bbe969bbc5')

build() {
  cd $srcdir/$pkgname-$pkgver
  make
  install -Dm755 odt2txt $pkgdir/usr/bin/odt2txt
  install -Dm644 odt2txt.1 $pkgdir/usr/share/man/man1/odt2txt.1
}
